package org.wuyichun.eduserver.service;

import org.wuyichun.base.util.PageInfo;
import org.wuyichun.eduserver.domain.Department;
import org.wuyichun.eduserver.query.DepartmentQuery;

import java.io.Serializable;
import java.util.List;

public interface IDepartmentService {
    void insert(Department department);
    void delete(Serializable id);
    void update(Department department);
    Department selectById(Serializable id);
    List<Department> selectAll();

    void batchDelete(List<Long> ids);

    PageInfo<Department> queryPage(DepartmentQuery departmentQuery);
    List<Department> getTree();
}
